home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
metasend.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
5KB
|
133 lines
mmmmeeeettttaaaasssseeeennnndddd((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 1111)))) mmmmeeeettttaaaasssseeeennnndddd((((1111))))
NNNNAAAAMMMMEEEE
metasend - Crude interface for sending non-text mail
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
mmmmeeeettttaaaasssseeeennnndddd [-b] [-c cc] [-e encoding] [-f filename] [-m
MIME-type] [-s subject] [-S splitsize] [-t to] [-z] [-n]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _m_e_t_a_s_e_n_d program will allow a user to send one or more
pre-existing data file as non-text multimedia mail.
With no arguments, the program will ask the user for the To,
Subject, and CC fields. It will then ask for the name of a
MIME content-type. Next, it will ask the user for the name
of an existing file containing that type of data. After
this, it will ask what encoding type, if any, should be
applied to this data. Finally, it will ask if the user
wants to include information from an additional file, in
which case the last three questions will be repeated for
the next file.
Alternately, all of this information can be provided on the
comand line, using the following options:
-t to -- specifies the To address
-c cc -- specifies the CC address
-e encoding -- specifies the encoding type. Must be
either "base64", "quoted-printable", "7bit", or "x-uue".
"7bit" means no encoding is performed.
-f filename -- specifies the file containing the data
-m MIME-type -- specifies the MIME content-type
-s subject -- specifies the Subject field
-S splitsize -- specifies the maximum size before
splitting into parts via splitmail(1).
-b -- specifies Batch (non-interactive) Mode. Will exit
with an error message if -f, -m, -s, and -t are not also
used.
-z -- specifies that the temporary files should be
deleted EVEN IF DELIVERY FAILS.
-n -- specifies that an additional file is to be
included. Before each use of the -n option on the command
line, the options -m, -c, and -f, at a minimum, must have
appeared,and must appear separately for each included file.
This is intended largely for mail hackers. A much
friendlier interface to non-text mail is provided by
mailto(1).
If more than one file is given, the parts will be combined
into a single multipart MIME object.
The mail will be delivered using the splitmail(1) program,
Page 1 (printed 6/30/95)
mmmmeeeettttaaaasssseeeennnndddd((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 1111)))) mmmmeeeettttaaaasssseeeennnndddd((((1111))))
so if it is very long it will arrive as several pieces which
can be automatically reassembled by metamail. The
definition of "very long" can be altered using the -S flag
or the SPLITSIZE environment variable, as described in the
splitmail(1) man page.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
audiosend(1), mailto-hebrew(1), mailto(1), metamail(1),
mmencode(1), splitmail(1)
BBBBUUUUGGGGSSSS
Should do a better job of choosing the encoding if you don't
specify one.
Should do MIME syntax checking on user-supplied content-
type fields. Users are all too likely to provide bogus MIME
content-type values, alas. In particular, there are various
characters that are not allowed in parameters unless the
parameters are enclosed in double quotes, but this sort of
restriction is hard to enforce in a shell script!
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
Copyright (c) 1991 Bell Communications Research, Inc.
(Bellcore)
Permission to use, copy, modify, and distribute this
material for any purpose and without fee is hereby granted,
provided that the above copyright notice and this permission
notice appear in all copies, and that the name of Bellcore
not be used in advertising or publicity pertaining to this
material without the specific, prior written permission of
an authorized representative of Bellcore. BELLCORE MAKES NO
REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY OF THIS
MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", WITHOUT
ANY EXPRESS OR IMPLIED WARRANTIES.
AAAAUUUUTTTTHHHHOOOORRRR
Nathaniel S. Borenstein, Bellcore
Page 2 (printed 6/30/95)